package com.fh.web.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fh.dao.SysLogMapper;
import com.fh.dto.SysLog;
import com.fh.web.service.SysLogService;

@Service("sysLogService")
public class SysLogServiceImpl implements SysLogService {
	@Resource
	private SysLogMapper sysLogMapper;
	
	/**
	 * 新增日志
	 */
	@Override
	public int addSysLog(SysLog sysLog) {
		int row = 0;
		if (sysLog != null) {
			row = sysLogMapper.insertSelective(sysLog);
		}
		return row;
	}
	
	
}
